<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>这是我的个人OJ系统</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        /* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            font-family: 'Roboto', sans-serif;
            background-color: #f4f4f9;
            color: #333;
        }

        .container {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            background-image: url('https://source.unsplash.com/1600x900/?coding,programming'); /* 添加背景图片 */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .navbar {
            background-color: rgba(44, 62, 80, 0.9); /* 半透明背景 */
            color: white;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .navbar a {
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }

        .navbar a:hover {
            background-color: #34495e;
            border-radius: 4px;
        }

        .navbar .login {
            margin-left: auto;
        }

        .content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
            margin: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .content h1 {
            font-size: 2.5em;
            color: #27ae60;
            margin-bottom: 20px;
        }

        .content p {
            font-size: 1.2em;
            color: #333;
            margin-bottom: 20px;
        }

        .content a {
            display: inline-block;
            padding: 10px 20px;
            background-color: #27ae60;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.1em;
            transition: background-color 0.3s ease;
        }

        .content a:hover {
            background-color: #219653;
        }
    </style>
</head>

<body>
    <div class="container">
        <!-- 导航栏 -->
        <div class="navbar">
            <div>
                <a href="/">首页</a>
                <a href="/all_questions">题库</a>
                <!-- <a href="#">竞赛</a>
                <a href="#">讨论</a>
                <a href="#">求职</a> -->
            </div>
            <!-- <a class="login" href="#">登录</a> -->
        </div>

        <!-- 网页内容 -->
        <div class="content">
            <h1>WELCOME TO THE ONLINEJUDGE PLATFORM</h1>
            <a href="/all_questions">Click to start!</a>
        </div>
    </div>
</body>

</html>